import Layout from '@/layout'

const aiShopRouter = {
  path: '/aimanage/aishop',
  component: Layout,
  redirect: '/aimanage/aishop/index',
  name: 'aishopinfo',
  alwaysShow: true,
  meta: {
    title: 'ai店铺管理',
    icon: 'clipboard'
  },
  children: [
    {
      path: 'index',
      component: () => import('@/views/aimanage/aishop/index'),
      name: 'aiShopIndex',
      meta: { title: 'ai店铺管理' }
    },
     //添加店铺
     {
      path: 'shopAdd',
      component: () => import('@/views/aimanage/aishop/shopAdd.vue'),
      name: 'shopAdd',
      meta: { title: '添加店铺' }
    },
    //编辑店铺
    {
      path: 'shopEdit',
      component: () => import('@/views/aimanage/aishop/shopEdit.vue'),
      name: 'shopEdit',
      meta: { title: '编辑店铺' }
    },
    //店铺详情
    {
      path: 'shopDetail',
      component: () => import('@/views/aimanage/aishop/shopDetail.vue'),
      name: 'shopDetail',
      meta: { title: '店铺详情' }
    }
    // //新增 ai-头像
    // {
    //   path: 'addAi',
    //   component: () => import('@/views/aimanage/aishop/addAi.vue'),
    //   name: 'addAi',
    //   meta: { title: '新增ai头像' }
    // },
  ]
}

export default aiShopRouter
